from rest_framework.generics import GenericAPIView
from rest_framework.viewsets import GenericViewSet
from rest_framework.mixins import ListModelMixin, CreateModelMixin, UpdateModelMixin, DestroyModelMixin

from apps.models import Classification
from apps.serializers.Classification import ClassificationSerializer
from apps.utils.common_mixin import APIListModelMixin


class ClassificationView(GenericViewSet, APIListModelMixin):
    authentication_classes = []
    permission_classes = []
    queryset = Classification.objects.all()
    serializer_class = ClassificationSerializer
